package com.yong.automoguding.remote;

import com.yong.automoguding.annotation.RetrofitApi;
import com.yong.automoguding.dto.CpDailyResponse;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;

import java.util.Map;

/**
 * 今日校园接口
 * @author Hes
 */
@RetrofitApi("https://csmzxy.campusphere.net")
public interface CpDailyApi {

    /**
     *
     * 正在进行中的打卡
     * @param body
     * @param headers
     * @return
     */
    @POST("/wec-counselor-collector-apps/stu/collector/queryCollectorProcessingList")
    CpDailyResponse queryCollectorProcessingList(@Body Map<String, Object> body,
                                                       @HeaderMap Map<String, Object> headers);


    /**
     * 打卡详情
     * @param body
     * @param headers
     * @return
     */
    @POST("wec-counselor-collector-apps/stu/collector/detailCollector")
    CpDailyResponse detailCollector(@Body Map<String, Object> body,
                             @HeaderMap Map<String, Object> headers);


    /**
     * 获取问题表单
     * @param body
     * @param headers
     * @return
     */
    @POST("/wec-counselor-collector-apps/stu/collector/getFormFields")
    CpDailyResponse getFormFields(@Body Map<String, Object> body,
                                        @HeaderMap Map<String, Object> headers);


    /**
     * 提交打卡表单
     * @param body
     * @param headers
     * @return
     */
    @POST("/wec-counselor-collector-apps/stu/collector/submitForm")
    CpDailyResponse submitForm(@Body Map<String, Object> body,
                                @HeaderMap Map<String, Object> headers);







}
